package com.vincent.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.vincent.entity.Menu;
import com.vincent.entity.MenuRole;
import com.vincent.form.MenuForm;
import com.vincent.mapper.MenuMapper;
import com.vincent.mapper.MenuRoleMapper;
import com.vincent.service.IMenuRoleService;
import com.vincent.service.IMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService extends ServiceImpl<MenuMapper, Menu> implements IMenuService {

    @Override
    public List<Menu> menusByForm(MenuForm form) {
        return this.baseMapper.menusByForm(form);
    }
}
